import request from '@/utils/request'

// 查询排列5方法3预测列表
export function listThree(query) {
  return request({
    url: '/caipiao/three/list',
    method: 'get',
    params: query
  })
}

// 查询排列5方法3预测详细
export function getThree(id) {
  return request({
    url: '/caipiao/three/' + id,
    method: 'get'
  })
}

// 新增排列5方法3预测
export function addThree(data) {
  return request({
    url: '/caipiao/three',
    method: 'post',
    data: data
  })
}

// 修改排列5方法3预测
export function updateThree(data) {
  return request({
    url: '/caipiao/three',
    method: 'put',
    data: data
  })
}

// 删除排列5方法3预测
export function delThree(id) {
  return request({
    url: '/caipiao/three/' + id,
    method: 'delete'
  })
}
// 修改排列5方法预测
export function generateCode(data) {
  return request({
    url: '/caipiao/three/generateCode',
    method: 'get',
    params: data
  })
}
// 修改排列5方法预测
export function checkCode(data) {
  return request({
    url: '/caipiao/three/checkCode',
    method: 'get',
    params: data
  })
}

